<div {{if $id}}id="{{$id}}" {{/if}} {{if $this->Session->read('Auth.Staff.id')>0 }} {{$data_attribute}} {{/if}} class="ui-portlet clearfix {{$custom_class}}">

	{{if $title}}
	<div class="ui-portlet-header">
	      <span class="title">{{$title}}</span> 
	      <div class="carouFredSel-controls">      
	            <span class="prev" id="{{$params['caroufredselid']}}-prev" style="display: inline-block;"><i class="fa fa-angle-left"></i></span>                      
	            <span class="next disabled" id="{{$params['caroufredselid']}}-next" style="display: inline-block;"><i class="fa fa-angle-right"></i></span>
	        </div>           
	</div>
	{{else}}
		<div class="carouFredSel-controls">      
	            <span class="prev" id="{{$params['caroufredselid']}}-prev" style="display: inline-block;"><i class="fa fa-angle-left"></i></span>                      
	            <span class="next disabled" id="{{$params['caroufredselid']}}-next" style="display: inline-block;"><i class="fa fa-angle-right"></i></span>
	    </div>   
	{{/if}}
	<ul class="clearfix ui-portlet-list {{$params['ulclass']}}">{{$body}}</ul>
</div>